﻿using DC2010.Objects.Data;

namespace DC2010.Events
{
    public class InstancesEvents
    {
        public E_PickupItem_Event E_PickupItem_Event { get; set; }
        public E_MoveParty_Event E_MoveParty_Event { get; set; }

        public InstancesEvents()
        {
            EventInfo ei1 = Root.I.EventSystem.GetInfo("E_PICKUP_ITEM_EVENT");
            if (ei1!=null)
                E_PickupItem_Event = (E_PickupItem_Event)ei1.CreateData().L;

            EventInfo ei2 = Root.I.EventSystem.GetInfo("E_MOVE_PARTY_EVENT");
            if (ei2 != null)
                E_MoveParty_Event = (E_MoveParty_Event)ei2.CreateData().L;


        }
    }
}
